package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 部门实现类
 *  
 * @author xuz
 * @date 2018/11/22 9:58 AM
 */
@Getter
@Setter
@Table(name="sys_dep")  //类和表的映射
public class Dep extends BasePojo {

    private static final long serialVersionUID = 8937371784095426075L;
    @Id
    @Column(name="dep_id",insertable=false)
    private Integer depId;    // 部门id
    //部门代码
    private String depCode;
    //部门名称
    private	String depName;
    //创建人
    private Integer userId;
  //创建翻译
    private String userName;
    //上级部门
    private Integer depPid;
  //上级部门名称
    private String depPar;
    //备注
    private String remark;
    //状态
    private Integer dataState;

  // 数据状态(翻译)
  private String dataStateName;

    //创建时间
    private Date createDate;

    //更改时间
    private Date modifyDate;

    //标记
    private Integer flag;

}
